package com.tensquare.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @Author: xxx
 * @Date: 2022/10/13 20:06
 * @Description: 结果类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Result implements Serializable {
    //是否成功
    private boolean flag;
    //状态码
    private Integer code;
    //消息
    private String msg;
    //数据
    private Object data;
    
}
